import React from 'react';
import { STATUS, STRATEGY_STATUS, STRATEGYLAB_STATUS } from '../../utils/constant';

export default function Status(props) {
  return (
    <span>
      {props.isStrategy
        ? STRATEGY_STATUS[props.value]
        : props.isStrategyLab
        ? STRATEGYLAB_STATUS[props.value]
        : STATUS[props.value]}
    </span>
  );
}
